package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.RecommendGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecommendGoodsMapper extends BaseMapper<RecommendGoods> {

    @Select("select * from recommend_goods where status = #{status}")
    List<RecommendGoods> getAllEnableGoods(int status);
}
